home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 32 / CD Expert nº 32.iso / NBA 2000 / NBA2000.exe / CABFILE / IDR_CABFILE / Data / 2DScript / FREETHRO.UI < prev    next >
Text File  |  1999-06-14  |  2KB  |  129 lines

  1. "2D\Overlays\FreeThro"
  2.  
  3. //********************
  4. //  Data Container
  5. //********************
  6. DataContainer {
  7.     Int "FreeThrowSlider" {
  8.         Thumb "FreeThrowSlider";
  9.         InitialValue 0;
  10.     };
  11.     Int "FreeThrowSlider2" {
  12.         Thumb "FreeThrowSlider2";
  13.         InitialValue 0;
  14.     };
  15.     Int "FreeThrowMeter" {
  16.         ImageSpinner "FreeThrowScrollBarBack";
  17.         InitialValue 0;
  18.     };
  19. };
  20.  
  21.  
  22. //********************
  23. //  Images
  24. //********************
  25. //  Slider thumb
  26. Image "FreeThrowSliderThumb" {
  27.     Filename "FreeBall";
  28. };
  29.  
  30. //Slider back
  31. Image "FreeThrowSliderBack1" {
  32.     Filename "Free1";
  33. };
  34. Image "FreeThrowSliderBack2" {
  35.     Filename "Free2";
  36. };
  37. Image "FreeThrowSliderBack3" {
  38.     Filename "Free3";
  39. };
  40. Image "FreeThrowSliderBack4" {
  41.     Filename "Free4";
  42. };
  43. Image "FreeThrowSliderBack5" {
  44.     Filename "Free5";
  45. };
  46. Image "FreeThrowSliderBack6" {
  47.     Filename "Free6";
  48. };
  49. Image "FreeThrowSliderBack7" {
  50.     Filename "Free7";
  51. };
  52. Image "FreeThrowSliderBack8" {
  53.     Filename "Free8";
  54. };
  55. Image "FreeThrowSliderBack9" {
  56.     Filename "Free9";
  57. };
  58.  
  59.  
  60. //********************
  61. //  Styles
  62. //********************
  63. Style "FreeThrowScrollBarBack" {
  64.     Image "FreeThrowSliderBack1";
  65.     Image "FreeThrowSliderBack2";
  66.     Image "FreeThrowSliderBack3";
  67.     Image "FreeThrowSliderBack4";
  68.     Image "FreeThrowSliderBack5";
  69.     Image "FreeThrowSliderBack6";
  70.     Image "FreeThrowSliderBack7";
  71.     Image "FreeThrowSliderBack8";
  72.     Image "FreeThrowSliderBack9";
  73. };
  74.  
  75.  
  76. //********************
  77. //  Image spinners
  78. //********************
  79. ImageSpinner "FreeThrowScrollBarBack" {
  80.     Style "FreeThrowScrollBarBack";
  81. };
  82.  
  83.  
  84. //********************
  85. //  Thumbs
  86. //********************
  87. Thumb "FreeThrowSlider" {
  88.     Image "FreeThrowSliderThumb";
  89.     Horizontal;
  90.     FixedPosition 31;
  91.     Range [6, 170];
  92. };
  93.  
  94. Thumb "FreeThrowSlider2" {
  95.     Image "FreeThrowSliderThumb";
  96.     Horizontal;
  97.     FixedPosition 31;
  98.     Range [6, 170];
  99. };
  100.  
  101.  
  102. //********************
  103. //  Groups
  104. //********************
  105. ScrollBarGroup "FreeThrowSlider" {
  106.     Horizontal;
  107.     Children {
  108.         Thumb "FreeThrowSlider";
  109.     };
  110. };
  111.  
  112. ScrollBarGroup "FreeThrowSlider2" {
  113.     Horizontal;
  114.     Children {
  115.         Thumb "FreeThrowSlider2";
  116.     };
  117. };
  118.  
  119. Group "FreeThrowMeter" {
  120.     Root;
  121. //    Position [50, 400];
  122.     BottomLeft Position [50, -80];
  123.  
  124.     Children {
  125.         ImageSpinner "FreeThrowScrollBarBack";
  126.         ScrollBarGroup "FreeThrowSlider2";
  127.         ScrollBarGroup "FreeThrowSlider";
  128.     };
  129. };